home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Development / Source / Chef 1.1 so Folder / Chef ƒ / MSG Shell ƒ / msg menus.h < prev    next >
Encoding:
Text File  |  1994-02-16  |  1.6 KB  |  70 lines  |  [TEXT/KAHL]

  1. /**********************************************************************\
  2.  
  3. File:        msg menus.h
  4.  
  5. Purpose:    This is the header file for msg menus.c
  6.  
  7.  
  8. Chef -=- convert text to Swedish chef talk
  9. Copyright ©1994, Mark Pilgrim
  10.  
  11. This program is free software; you can redistribute it and/or modify
  12. it under the terms of the GNU General Public License as published by
  13. the Free Software Foundation; either version 2 of the License, or
  14. (at your option) any later version.
  15.  
  16. This program is distributed in the hope that it will be useful,
  17. but WITHOUT ANY WARRANTY; without even the implied warranty of
  18. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19. GNU General Public License for more details.
  20.  
  21. You should have received a copy of the GNU General Public License
  22. along with this program in a file named "GNU General Public License".
  23. If not, write to the Free Software Foundation, 675 Mass Ave,
  24. Cambridge, MA 02139, USA.
  25.  
  26. \**********************************************************************/
  27.  
  28. enum
  29. {
  30.     helpMenu=200,
  31.     
  32.     appleMenu = 400,
  33.     fileMenu,
  34.     editMenu,
  35.     optionsMenu,
  36.     
  37.     aboutItem = 1,
  38.     aboutMSGItem,
  39.     helpItem,
  40.     
  41.     openItem=1,
  42.     closeItem,
  43.     quitItem = 4,
  44.     
  45.     undoItem = 1,
  46.     cutItem = 3,
  47.     copyItem = 4,
  48.     pasteItem = 5,
  49.     clearItem = 6,
  50.     
  51.     showSaveItem = 1,
  52.     addSuffixItem,
  53.     showProgressItem,
  54.     rtfItem
  55. };
  56.  
  57. extern    MenuHandle        gAppleMenu;
  58. extern    MenuHandle        gFileMenu;
  59. extern    MenuHandle        gEditMenu;
  60. extern    MenuHandle        gOptionsMenu;
  61. extern    MenuHandle        gHelpMenu;
  62.  
  63. void AdjustMenus(void);
  64. void HandleMenu(long);
  65. void HandleAppleMenu(int menuItem);
  66. void HandleFileMenu(int menuItem);
  67. void HandleEditMenu(int menuItem);
  68. void HandleOptionsMenu(int menuItem);
  69. void HandleHelpMenu(int menuItem);
  70.